package com.tedu.domain.service;


import com.tedu.domain.bo.ContentBO;
import com.tedu.domain.bo.ContentListBO;
import com.tedu.protocol.param.ContentParam;
import com.tedu.protocol.param.ContentUpdateParam;

import java.util.List;

/**
* @author liuhuan
* @description 针对表【content(内容表)】的数据库操作Service
* @createDate 2023-04-18 17:34:25
*/
public interface ContentService {
   void addNew(ContentParam content);

   int countByTitle(String title);

   int deleteById(Integer id);

   ContentBO selectByPrimaryKey(Integer id);
   int updateByPrimaryKeySelective(ContentUpdateParam content);
   List<ContentListBO> list();
}
